Solutions for Comp248 Assignment 5

//no arrays are used in this solution

#include"report.h"
//report.h contains several header files, so there is no need to include everything here!


int main()

{

	String fileIs; // name of file to be opened
	cout<<" Enter the File's Name: ";  // making the input interactive
	cin>>fileIs;
	Report tester(fileIs);	//the file has to exist in order to be opened
	tester.filesOp();


	return 0;
}


/*
Run:
 Enter the File's Name: marks.dat

 Input file   : marks.dat
 Output file  : marks.dat.output
..........

Press any key to continue

*/